<jsp:include page="/header.jsp" />
	<form name="form1" action="" method="post">
           <div dojoType="dijit.layout.ContentPane" region="center">
               <div dojoType="dijit.form.Form" id="myForm" jsId="myForm"
                    encType="multipart/form-data" action="" method="POST">
					 <label for="contratante">Contratante: </label>
					 <br>
					 <input type="text" id="contratante" name="contratante"
					        dojoType="dijit.form.ValidationTextBox"
					        invalidMessage="Digite o contratante" 
					        required="true" 
					        />
					 <br>
					 <br>
					 <label for="email">Email: </label>
					 <br>
					 <input type="text" id="email" name="email"
					        dojoType="dijit.form.ValidationTextBox"
					        invalidMessage="Digite o email" 
					        required="true" />
					 <br>
					 <br>
					
					 <label for="mensagem">Mensagem: </label>
					 <br>
					 <input type="text" id="mensagem" name="mensagem"
					        dojoType="dijit.form.ValidationTextBox"
					      	invalidMessage="Digite a mensagem" 
					        required="true" />
					 <br>
					 <br>
					<button dojoType="dijit.form.Button" type="submit" name="btnEnviar" value="Enviar" onclick="form1.action='Servlet?logica=Contato&fwdFail=contato.jsp&fwdSuccess=contato.jsp'">Enviar</button>
					<br>
					 <% if(request.getAttribute("erro") != null){
							out.println(request.getAttribute("erro"));
						}
					%>
				</div>
           </div>
       </form>
<jsp:include page="/footer.jsp" />